<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
	
	
	<script>
		
		var   a={
			id:1,
			name:'小张'
		} 
		
		console.log(a.id);
		console.log(a.name);
		
		console.log('-------------');
		for(let key in obj){
			console.log(a[key]);
		}
		 
		
	</script>
</html>